Xbasic

SQL::ConnectionGeographySupported Method

Syntax

L GeographySupported(Syntax as C = "")

Arguments

SyntaxCharacter

The target system of record. If not specified, the database type specified in the SQL::Connection's connection string is used. See listSyntaxes() for a list of allowed values.

Returns

resultLogical

Returns .T. if the syntax name passed is supported for geography features.

Description

Returns true if the syntax name passed is supported for geography features.

Discussion

Returns true if the syntax name passed is supported for geography features. If you do not provide a syntax name, the current syntax is used. If no syntax is assigned yet, the function will return false.

Example

dim conn as SQL::Connection
? conn.GeographySupported("Access")
= .F.

? conn.GeographySupported("Oracle")
= .T.

? conn.GeographySupported("MySQL")
= .T.

? conn.GeographySupported("SAPHANA")
= .F.

See Also